package com.synjones.pay.web.biz.recharge.bean;

import com.synjones.pay.web.biz.common.YktCardInfoBean;

/**
 *
 * @author sxj
 */
public class RechargeRespEcardBean {

    /**
     * 学校代码
     */
    private String ucode;
    /**
     * 学校名称
     */
    private String uname;
    /**
     * 充值账号
     */
    private String rechargeAcc;
    /**
     * 充值账号姓名
     */
    private String accName;

    public String getUcode() {
        return ucode;
    }

    public void setUcode(String ucode) {
        this.ucode = ucode;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getRechargeAcc() {
        return rechargeAcc;
    }

    public void setRechargeAcc(String rechargeAcc) {
        this.rechargeAcc = rechargeAcc;
    }

    public String getAccName() {
        return accName;
    }

    public void setAccName(String accName) {
        this.accName = accName;
    }

    public static RechargeRespEcardBean getYktCardInfos(YktCardInfoBean yktCardInfo, String ucode, String uname) {
        RechargeRespEcardBean rreb = new RechargeRespEcardBean();
        rreb.setUcode(ucode);
        rreb.setUname(uname);
        rreb.setAccName(yktCardInfo.getName());
        rreb.setRechargeAcc(yktCardInfo.getAccount());
        return rreb;
    }

}
